<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>动态模块显示</title>
<link href="__PUBLIC__/css/main.css" rel="stylesheet" type="text/css">
<import type="js" file="js.jquery"/>
</head>
<body>
<div id="con_bg">
    <div id="con">
      <?php
      	if(is_array($showcon) && count($showcon)>0){
			$i = 0;
			foreach($showcon as $value){
			if($i > 0 && $i%4 == 0){
				echo '<script>$("#con_bg").css(\'height\',$("#con_bg").height()+294);</script>';
			} 
			$i++;
      ?>
        <div class="cones about">
        	<div><h2>
				<?php 
					$t = selectModel::getRootModByMid($value ['z_id']);
					echo $t['z_name'];
				?>
				</h2></div>
            	<p>
            		<div class='con'>
            			<?php if($flag[$value['z_url']]){?>
		               		<img title='图片' src="/www/static/images/<?php echo $value['z_url'].'_'.$value['z_id'];?>.jpg" width='80px' height="110px">
		               	<?php  
		               		echo '';
							}
						?>
		                <span><?php $ret = $$value['z_url'];echo $ret[$value['z_id']];?></span>
	                </div>
	                <span class="more"><a href="/www/<?php echo $value['z_url'];?>/index/modid/<?php echo $value['z_id'];?><?php echo C('HTML_FILE_SUFFIX')?>">查看详情>></a></span>
	            </p>
        </div>
       <?php
       		}
		}
       ?>
	</div>
</div>
</body>
</html>